﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.wdx
{
    /// <summary>
    /// 慢病签约表
    /// </summary>
    [SugarTable("NCDSign")]
    public class NCDSign : Audit
    {
        /// <summary>
        /// 慢病签约表唯一标识
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int NCDSign_Id { get; set; }

        /// <summary>
        /// 患者id
        /// </summary>
        public int Patient_Id { get; set; }

        /// <summary>
        /// 签约团队
        /// </summary>
        public int? Team { get; set; }

        /// <summary>
        /// 签约医生
        /// </summary>
        public int? Doctor { get; set; }

        /// <summary>
        /// 签约状态 0:未签约  1：已签约
        /// </summary>
        public int? Sign_Status { get; set; } = 1;

        /// <summary>
        ///  签约开始时间
        /// </summary>
        public DateTime? Sign_StartTime { get; set; }

        /// <summary>
        ///  签约结束时间
        /// </summary>
        public DateTime? Sign_EndTime { get; set; }

        /// <summary>
        /// 管理慢病
        /// </summary>
        public string? ManageNCD { get; set; }

        /// <summary>
        /// 管理级别
        /// </summary>
        public string? ManageLevel { get; set; }

        /// <summary>
        /// 服务包
        /// </summary>
        public string? ServicePack { get; set; }

        /// <summary>
        /// 签约凭证
        /// </summary>
        public string? Proof { get; set; }
    }
}
